<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>iic: Examples</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">iic
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('example.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Examples </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>You can refer to the below stated example applications for more details on how to use iic driver.</p>
<h1><a class="anchor" id="ex1"></a>
xiic_selftest_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example performs the basic selftest using the driver.</p>
<p>For details, see <a class="el" href="xiic__selftest__example_8c.html" title="This file contains a example for using the IIC hardware device and XIic driver. ">xiic_selftest_example.c</a>.</p>
<h1><a class="anchor" id="ex2"></a>
xiic_dynamic_eeprom_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a Interrupt mode design which shows the usage of the Xilinx iic device and <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver to exercise the EEPROM in Dynamic controller mode. The <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver uses the complete FIFO functionality to transmit/receive data. This example writes/reads from the lower 256 bytes of the IIC EEPROMS.</p>
<p>For details, see <a class="el" href="xiic__dynamic__eeprom__example_8c.html" title="This file consists of a Interrupt mode design example which uses the Xilinx IIC device and XIic drive...">xiic_dynamic_eeprom_example.c</a>.</p>
<h1><a class="anchor" id="ex3"></a>
xiic_eeprom_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a Interrupt mode design which shows the usage of the Xilinx iic device and <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver to exercise the EEPROM. The <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver uses the complete FIFO functionality to transmit/receive data. This example writes/reads from the lower 256 bytes of the IIC EEPROMS.</p>
<p>For details, see <a class="el" href="xiic__eeprom__example_8c.html" title="This file consists of a Interrupt mode design example which uses the Xilinx IIC device and XIic drive...">xiic_eeprom_example.c</a>.</p>
<h1><a class="anchor" id="ex4"></a>
xiic_low_level_dynamic_eeprom_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a polled mode design which shows the usage of the Xilinx iic device in dynamic mode and low-level driver to exercise the EEPROM.</p>
<p>For details, see <a class="el" href="xiic__low__level__dynamic__eeprom__example_8c.html" title="This file consists of a polled mode design example which uses the Xilinx IIC device in dynamic mode a...">xiic_low_level_dynamic_eeprom_example.c</a>.</p>
<h1><a class="anchor" id="ex5"></a>
xiic_low_level_eeprom_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a polled mode design which shows the usage of the Xilinx iic device and low-level driver to exercise the EEPROM. This example writes/reads from the lower 256 bytes of the IIC EEPROMS.</p>
<p>For details, see <a class="el" href="xiic__low__level__eeprom__example_8c.html" title="This file consists of a polled mode design example which uses the Xilinx IIC device and low-level dri...">xiic_low_level_eeprom_example.c</a>.</p>
<h1><a class="anchor" id="ex6"></a>
xiic_low_level_tempsensor_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example contains a polled mode design which shows the usage of the Xilinx iic device and low-level driver to execise the temperature sensor. This example only performs read operations (receive) from the iic temperature sensor of the platform.</p>
<p>For details, see <a class="el" href="xiic__low__level__tempsensor__example_8c.html" title="This file contains a polled mode design example which uses the Xilinx IIC device and low-level driver...">xiic_low_level_tempsensor_example.c</a>.</p>
<h1><a class="anchor" id="ex7"></a>
xiic_multi_master_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a Interrupt mode design which shows the usage of the Xilinx iic device and <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver to exercise the EEPROM in a multi master mode. This example writes/reads from the lower 256 bytes of the IIC EEPROMS.</p>
<p>For details, see <a class="el" href="xiic__multi__master__example_8c.html" title="This file consists of a Interrupt mode design example which uses the Xilinx IIC device and XIic drive...">xiic_multi_master_example.c</a>.</p>
<h1><a class="anchor" id="ex8"></a>
xiic_repeated_start_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a interrupt mode design to demonstrate the use of repeated start using the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver.</p>
<p>For details, see <a class="el" href="xiic__repeated__start__example_8c.html" title="This file consists of a interrupt mode design example to demonstrate the use of repeated start using ...">xiic_repeated_start_example.c</a>.</p>
<h1><a class="anchor" id="ex9"></a>
xiic_slave_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a Interrupt mode design which shows the usage of the Xilinx iic device and <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver to exercise the slave functionality of the iic device.</p>
<p>For details, see <a class="el" href="xiic__slave__example_8c.html" title="This file consists of a Interrupt mode design example which uses the Xilinx IIC device and XIic drive...">xiic_slave_example.c</a>.</p>
<h1><a class="anchor" id="ex10"></a>
xiic_tempsensor_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example contains an interrupt based design which shows the usage of the Xilinx iic device and driver to exercise the temperature sensor. This example only performs read operations(receive) from the iic temperature sensor of the platform.</p>
<p>For details, see <a class="el" href="xiic__tempsensor__example_8c.html" title="This file contains an interrupt based design example which uses the Xilinx IIC device and driver to e...">xiic_tempsensor_example.c</a>.</p>
<h1><a class="anchor" id="ex11"></a>
xiic_tenbitaddr_example.c</h1>
<p>Contains an example on how to use the <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver directly. This example consists of a Interrupt mode design which shows the usage of the Xilinx iic device and <a class="el" href="struct_x_iic.html" title="The XIic driver instance data. ">XIic</a> driver to exercise the 10-bit Address functionality of the iic device.</p>
<p>For details, see <a class="el" href="xiic__tenbitaddr__example_8c.html" title="This file consists of a Interrupt mode design example which uses the Xilinx IIC device and XIic drive...">xiic_tenbitaddr_example.c</a>. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
